<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../print.css" type="text/css" media="print">
<meta content="Shape3DEvent,sandy.events.Shape3DEvent,event,point,polygon,shape,uv" name="keywords">
<title>sandy.events.Shape3DEvent</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'Shape3DEvent - Sandy 3.1.2 API Documentation';
				var baseRef = '../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Sandy 3D Engine, 3.1.2</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../all-classes.html')" href="../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../all-classes.html')" href="../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../index-list.html')" href="../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../index.html?sandy/events/Shape3DEvent.html&amp;sandy/events/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;Shape3DEvent</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class Shape3DEvent"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">sandy.events</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class Shape3DEvent</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">Shape3DEvent <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../images/inherit-arrow.gif"> <a href="BubbleEvent.html">BubbleEvent</a> <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../images/inherit-arrow.gif"> flash.events.Event</td>
</tr>
</table>
<p></p>
  This class represents the type of events broadcasted by shapes objects.
  It gives some useful information about the clicked object such as the polygon clicked, and real 3D position of the point under mouse, the UV coordinate under mouse.
  It allows some advanced interaction with the object and its texture.
    <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">
<a href="../core/scenegraph/Shape3D.html" target="">sandy.core.scenegraph.Shape3D</a>
</div>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<div class="showHideLinks">
<div class="hideInheritedProperty" id="hideInheritedProperty">
<a onclick="javascript:setInheritedVisible(false,'Property');" href="#propertySummary" class="showHideLink"><img src="../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Properties</a>
</div>
<div class="showInheritedProperty" id="showInheritedProperty">
<a onclick="javascript:setInheritedVisible(true,'Property');" href="#propertySummary" class="showHideLink"><img src="../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Properties</a>
</div>
</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#event">event</a> : Event<div class="summaryTableDescription">
   Original Flash event instance.</div>
</td><td class="summaryTableOwnerCol">Shape3DEvent</td>
</tr>
<tr class="hideInheritedProperty">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol"><a class="signatureLink" href="BubbleEvent.html#object">object</a> : Object<div class="summaryTableDescription">
   The event target.</div>
</td><td class="summaryTableOwnerCol"><a href="BubbleEvent.html">BubbleEvent</a></td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#point">point</a> : <a href="../core/data/Point3D.html">Point3D</a>
<div class="summaryTableDescription">
   Real 3D position of the point under mouse click position.</div>
</td><td class="summaryTableOwnerCol">Shape3DEvent</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#polygon">polygon</a> : <a href="../core/data/Polygon.html">Polygon</a>
<div class="summaryTableDescription">
   Polygon that has been clicked.</div>
</td><td class="summaryTableOwnerCol">Shape3DEvent</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#shape">shape</a> : <a href="../core/scenegraph/Shape3D.html">Shape3D</a>
<div class="summaryTableDescription">
   A reference to the object which has been clicked.</div>
</td><td class="summaryTableOwnerCol">Shape3DEvent</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#uv">uv</a> : <a href="../core/data/UVCoord.html">UVCoord</a>
<div class="summaryTableDescription">
   Real UV coordinate of the point under the mouse click position.</div>
</td><td class="summaryTableOwnerCol">Shape3DEvent</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<div class="showHideLinks">
<div class="hideInheritedMethod" id="hideInheritedMethod">
<a onclick="javascript:setInheritedVisible(false,'Method');" href="#methodSummary" class="showHideLink"><img src="../../images/expanded.gif" class="showHideLinkImage"> Hide Inherited Public Methods</a>
</div>
<div class="showInheritedMethod" id="showInheritedMethod">
<a onclick="javascript:setInheritedVisible(true,'Method');" href="#methodSummary" class="showHideLink"><img src="../../images/collapsed.gif" class="showHideLinkImage"> Show Inherited Public Methods</a>
</div>
</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#Shape3DEvent()">Shape3DEvent</a>(e:String, p_oShape:<a href="../core/scenegraph/Shape3D.html">Shape3D</a>, p_oPolygon:<a href="../core/data/Polygon.html">Polygon</a>, p_oUV:<a href="../core/data/UVCoord.html">UVCoord</a>, p_oPoint3d:<a href="../core/data/Point3D.html">Point3D</a>, p_oEvent:Event)</div>
<div class="summaryTableDescription">
   Constructs a new Shape3DEvent instance.</div>
</td><td class="summaryTableOwnerCol">Shape3DEvent</td>
</tr>
<tr class="hideInheritedMethod">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol"><img class="inheritedSummaryImage" title="Inherited" alt="Inherited" src="../../images/inheritedSummary.gif"></td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="BubbleEvent.html#toString()">toString</a>():String</div>
<div class="summaryTableDescription">
   Returns the string representation of the event.</div>
</td><td class="summaryTableOwnerCol"><a href="BubbleEvent.html">BubbleEvent</a></td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="event"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">event</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>public var event:Event</code><p>
   Original Flash event instance.
   </p></div>
<a name="point"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">point</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var point:<a href="../core/data/Point3D.html">Point3D</a></code><p>
   Real 3D position of the point under mouse click position.
         </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/data/Point3D.html" target="">sandy.core.data.Point3D</a>
</div>
</div>
<a name="polygon"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">polygon</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var polygon:<a href="../core/data/Polygon.html">Polygon</a></code><p>
   Polygon that has been clicked.
         </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/data/Polygon.html" target="">sandy.core.data.Polygon</a>
</div>
</div>
<a name="shape"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">shape</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var shape:<a href="../core/scenegraph/Shape3D.html">Shape3D</a></code><p>
   A reference to the object which has been clicked.
         </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">sandy.core.scenegraph.Scene3D</div>
</div>
<a name="uv"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">uv</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var uv:<a href="../core/data/UVCoord.html">UVCoord</a></code><p>
   Real UV coordinate of the point under the mouse click position.
         </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../core/data/UVCoord.html" target="">sandy.core.data.UVCoord</a>
</div>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="Shape3DEvent()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">Shape3DEvent</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function Shape3DEvent(e:String, p_oShape:<a href="../core/scenegraph/Shape3D.html">Shape3D</a>, p_oPolygon:<a href="../core/data/Polygon.html">Polygon</a>, p_oUV:<a href="../core/data/UVCoord.html">UVCoord</a>, p_oPoint3d:<a href="../core/data/Point3D.html">Point3D</a>, p_oEvent:Event)</code><p>
   Constructs a new Shape3DEvent instance.
      </p><p>Example
   <code>
     var e:Shape3DEvent = new Shape3DEvent(MyClass.onSomething, theShapeReference, thePolygonReference, theUVCoord, theReal3DIntersectionPoint);
   </code>
      <span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">e</span>:String</code> &mdash;    A name for the event.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">p_oShape</span>:<a href="../core/scenegraph/Shape3D.html">Shape3D</a></code> &mdash;  The Shape3D object reference
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">p_oPolygon</span>:<a href="../core/data/Polygon.html">Polygon</a></code> &mdash; The Polygon object reference
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">p_oUV</span>:<a href="../core/data/UVCoord.html">UVCoord</a></code> &mdash;   The UVCoord object which corresponds to the UVCoord under mouse position
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">p_oPoint3d</span>:<a href="../core/data/Point3D.html">Point3D</a></code> &mdash; The Point3D object which is the real 3D position under the mouse position
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">p_oEvent</span>:Event</code> &mdash;  The original Flash event instance
         </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">sandy.core.scenegraph.Scene3D<br>
<a href="../core/data/Polygon.html" target="">sandy.core.data.Polygon</a>
<br>
<a href="../core/data/UVCoord.html" target="">sandy.core.data.UVCoord</a>
<br>
<a href="../core/data/Point3D.html" target="">sandy.core.data.Point3D</a>
</div>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">API documentation for Sandy 3D Engine, Ver. 3.1.2</center>
</div>
</body>
</html>
<!--API documentation for Sandy 3D Engine, Ver. 3.1.2-->
